home *** CD-ROM | disk | FTP | other *** search
/ Ghost Rider iactivecard / Ghost Rider iactivecard.iso / pc / quit.swf / scripts / frame_114 / DoAction.as
Encoding:
Text File  |  2007-04-10  |  774 b   |  21 lines

  1. function getTheTime()
  2. {
  3.    var _loc2_ = new Date();
  4.    var _loc4_ = _loc2_.getMonth() + 1 + "-" + _loc2_.getDate() + "-" + _loc2_.getFullYear();
  5.    timenow = new Date();
  6.    hours_txt = timenow.getHours();
  7.    var _loc1_ = timenow.getMinutes();
  8.    minutes_txt = _loc1_ >= 10 ? _loc1_ : "0" + _loc1_;
  9.    var _loc3_ = int(timenow.getSeconds());
  10.    seconds_txt = _loc3_ >= 10 ? _loc3_ : "0" + _loc3_;
  11.    return _loc4_ + "_" + timenow.getHours() + ":" + (_loc1_ >= 10 ? _loc1_ : "0" + _loc1_);
  12. }
  13. fscommand("quit");
  14. _project = "project=GhostRiderCD";
  15. _moviename = "&name=exit";
  16. filePath = "http://iactivetrack.net/ghost_rider/tracker.php?" + _project + _moviename;
  17. loadVariables(filePath,_root);
  18. trace(filePath);
  19. currentDate = getTheTime();
  20. trace(currentDate);
  21.